<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/bootstrap.min.css" />
  <link rel="stylesheet" href="./css/bootstrap.css">
    <script src="./js/jquery.min.js"></script>
    <script src="./js/index.js" type="module"></script>
    <script src="./js/bootstrap.min.js"></script>
  </head>
  <body>
    <header display="flex">
      <input type="text" placeholder="标题" class="title" />
      <input type="text" placeholder="发布人" class="author" />
      <input type="date" class="date" />
      <div class="add">新增</div>
    </header>
    <table class="table table-bordered">
      <tr>
        <th>序号</th>
        <th>标题</th>
        <th>发布</th>
        <th>发布时间</th>
        <th>操作</th>
      </tr>
    </table>
    <!-- 模态框 -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button
              type="button"
              class="close"
              data-dismiss="modal"
              aria-label="Close"
            >
              <span aria-hidden="true">&times;</span>
            </button>
            <h4 class="modal-title">添加</h4>
          </div>
          <div class="modal-body">
            <input type="text" placeholder="标题" class="titleNew" />
            <input type="text" placeholder="发布人" class="authorNew" />
            <input type="date" class="dateNew" />
          </div>
          <div class="modal-footer">
            <button
              type="button"
              class="btn btn-default"
              data-dismiss="modal"
              style="background-color: red; color: white"
            >
              取消
            </button>
            <button type="button" class="btn btn-primary addsure">更新</button>
          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->
  </body>
</html>
